<template>
<div>
    <headers>
        <i @click="Sbackto()"></i>
        <span>健康美味兼得的布尔本</span>
        <img class="share" src="../../assets/user/fenxiang.png" alt="share">
    </headers>
    <img class="Sutop" src="../../assets/user/super.png" alt="">
    <div class="Sucon">
        <p>
            日本著名糕点品牌Bourbon布尔本，成立于1924年，是日本零食十强之一。制作的曲奇和糕点系列，品质远胜于欧洲传统西点，做工研究、精致、高贵、时尚、健康是Bourbon一贯的严谨作风，其北日本系列礼盒更是夺得了销售冠军，相当受欢迎。
        </p>
    </div>
    <div class="Sucon1">
        <div>
            <img src="../../assets/user/super1.png" alt="">
        </div>
        <div class="Sucon3">
            <p class="Sucon2">最受欢迎曲奇礼盒系列</p>
            <p>
                日本本土国内受欢迎的曲奇点心，浓浓的牛油味，饼干的酥脆和可可牛奶的美妙结合，咬下去，满满幸福感。礼盒装有三种不同口味，一盒里约54枚，布尔本家产品，礼盒包装无论是送人还是留着自己下午茶，都非常合适。
            </p>
        </div>
    </div>
    <ul class="Suxilie">
        <li class="Suxilie1">
            <div class="Suxilie3">
                <img src="../../assets/user/super2.png" alt="">
            </div>
            <p>BOURBON布尔本hello kitty黄油曲奇礼盒54枚</p>
            <p class="Suxilie4">￥12.90</p>
            <button class="Suxilie2">立即购买</button>
        </li>
        <li class="Suxilie1">
            <div class="Suxilie3">
                <img src="../../assets/user/super2.png" alt="">
            </div>
            <p>BOURBON布尔本hello kitty黄油曲奇礼盒54枚</p>
            <p class="Suxilie4">￥12.90</p>
            <button class="Suxilie2">立即购买</button>
        </li>
        <li class="Suxilie1">
            <div class="Suxilie3">
                <img src="../../assets/user/super2.png" alt="">
            </div>
            <p>BOURBON布尔本hello kitty黄油曲奇礼盒54枚</p>
            <p class="Suxilie4">￥12.90</p>
            <button class="Suxilie2">立即购买</button>
        </li>
        <li class="Suxilie1">
            <div class="Suxilie3">
                <img src="../../assets/user/super2.png" alt="">
            </div>
            <p>BOURBON布尔本hello kitty黄油曲奇礼盒54枚</p>
            <p class="Suxilie4">￥12.90</p>
            <button class="Suxilie2">立即购买</button>
        </li>
    </ul>

    <div class="Sucon1">
        <div>
            <img src="../../assets/user/super1.png" alt="">
        </div>
        <div class="Sucon3">
            <p class="Sucon2">最受欢迎曲奇礼盒系列</p>
            <p>
                日本本土国内受欢迎的曲奇点心，浓浓的牛油味，饼干的酥脆和可可牛奶的美妙结合，咬下去，满满幸福感。礼盒装有三种不同口味，一盒里约54枚，布尔本家产品，礼盒包装无论是送人还是留着自己下午茶，都非常合适。
            </p>
        </div>
    </div>
    <ul class="Suxilie">
        <li class="Suxilie1">
            <div class="Suxilie3">
                <img src="../../assets/user/super2.png" alt="">
            </div>
            <p>BOURBON布尔本hello kitty黄油曲奇礼盒54枚</p>
            <p class="Suxilie4">￥12.90</p>
            <button class="Suxilie2">立即购买</button>
        </li>
        <li class="Suxilie1">
            <div class="Suxilie3">
                <img src="../../assets/user/super2.png" alt="">
            </div>
            <p>BOURBON布尔本hello kitty黄油曲奇礼盒54枚</p>
            <p class="Suxilie4">￥12.90</p>
            <button class="Suxilie2">立即购买</button>
        </li>
        <li class="Suxilie1">
            <div class="Suxilie3">
                <img src="../../assets/user/super2.png" alt="">
            </div>
            <p>BOURBON布尔本hello kitty黄油曲奇礼盒54枚</p>
            <p class="Suxilie4">￥12.90</p>
            <button class="Suxilie2">立即购买</button>
        </li>
        <li class="Suxilie1">
            <div class="Suxilie3">
                <img src="../../assets/user/super2.png" alt="">
            </div>
            <p>BOURBON布尔本hello kitty黄油曲奇礼盒54枚</p>
            <p class="Suxilie4">￥12.90</p>
            <button class="Suxilie2">立即购买</button>
        </li>
    </ul>

    <a ref="to" class="Sback" href="#">
        <img src="../../assets/user/jiantou.png" alt="">
    </a>
</div>
</template>

<script>
import Head from '../users/components/Head';
export default {
    name:'Super',
    components:{
        'headers':Head 
    },
    methods:{
        scrollToTop() { 
            var scrollTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop;
            if (scrollTop>200) {
                this.$refs.to.style.display = 'block';
            }else{
                this.$refs.to.style.display = 'none';
            }
        },
        Sbackto(){
            this.$router.replace('/milk');
        }
    },
    mounted(){
        window.addEventListener('scroll', this.scrollToTop)
        this.$refs.to.style.display = 'none';
    }
}
</script>

<style  scoped>
.share {
    position: absolute;
    right: 2rem;
    top: 3.1rem;
}
.Sutop {
    margin-top: 9.6rem;
}
.Sucon {
    background: #ffcd2c;
    height: 17rem;
    font-size: 2.8rem;
    text-align: left;
    padding: 3rem 2rem 4rem 2rem;
    color: #4d4d4d;
    margin-bottom: 4rem;
}
.Sucon1 {
    display: flex;
    text-align: left;
    font-size: 2.4rem;
    color: #4c4c4c;
    background: #fff;
    margin: 0 2rem;
    padding: 1.3rem 1rem 2.7rem 2rem;
    margin-bottom: 2.4rem;
}
.Sucon2 {
    margin-top: 2.9rem;
    font-size: 3rem;
    color: #4e1f1d;
    margin-bottom: 3rem;
}
.Sucon3 {
    margin-left: 2.6rem;
}
.Suxilie {
    background: #f2f2f2;
    padding: 1rem 2rem;
    display: flex;
    flex-wrap: wrap;
    font-size: 2.4rem;
    justify-content: space-between;
}
.Suxilie1 {
    /* height: 43.8rem; */
    width: 29.8rem;
    border: 1px solid #ccc;
    background: #fff;
    margin-bottom: 1rem;
    padding: 0 2rem;
}
.Suxilie2 {
    font-size: 1.8rem;
    background: #e53e42;
    color: #fff;
    margin-bottom: 1.9rem;
    width: 21.8rem;
    height: 3rem;
    border-radius: 10rem;
}
.Suxilie3 {
    height: 21.6rem;
    border-bottom: 1px solid #ccc;
    padding-top: 4.6rem;
    margin-bottom: 2rem;
}
.Suxilie4 {
    margin-top: 1.5rem;
    margin-bottom: 1.8rem;
    color: #e53e42;
}
.Sback {
    position: fixed;
    top: 50%;
    right: 2rem;
    height: 4.8rem;
    width: 4.8rem;
    border-radius: 50%;
    transition: all 2s ease-in;
}
</style>